package ar.com.ironsoft.javaopenauth.exceptions;

/**
 * The father of all the java open auth exceptions.
 * 
 * @author Tomas de Priede
 * @version 0.1.2, 05/02/2011
 * @since 0.1.2-SNAPSHOT
 * 
 */
@SuppressWarnings("serial")
public class JavaOpenAuthException extends RuntimeException {

	/**
	 * Constructs a new JavaOpenAuthException with a custom error message.
	 * @param message the error message
	 * @author Tomas de Priede
	 * @version 0.1.2, 05/02/2011
	 * @since 0.1.2-SNAPSHOT
	 * @see java.lang.RuntimeException
	 */
	public JavaOpenAuthException(String message) {
		super(message);
	}

	/**
	 * Constructs a new JavaOpenAuthException with a custom error message <br/>
	 * and a nested throwable object cause.
	 * @param message the error message
	 * @author Tomas de Priede
	 * @version 0.1.2, 05/02/2011
	 * @since 0.1.2-SNAPSHOT
	 * @see java.lang.RuntimeException
	 */
	public JavaOpenAuthException(String message, Throwable t) {
		super(message, t);
	}
}
